<template>
  <div>
    {{cookiea}}
    <input type="button" @click="huoqu" value="获取cookie">
  </div>
</template>

<script>
  export default {
    name: "two_cookie",
    data() {
      return {
        cookiea: ''
      }
    },
    methods: {
      huoqu() {
        this.axios.get('').then(res => {
          console.log(res.data)
          this.cookiea = res.data
        })
      }
    }
  }
</script>

<style scoped>

</style>
